package com.csq.sso.service;

import com.csq.common.pojo.ReturnResult;

public interface LoginService {

	
	/**
	 * 学生登录
	 * @param username
	 * @param password
	 * @return
	 */
	public ReturnResult accountLogin(String username, String password);
	
	
	/**
	 * 企业登录
	 * @param username
	 * @param password
	 * @return
	 */
	public ReturnResult companyLogin(String username, String password);
	
	/**
	 * 管理员登录
	 * @param username
	 * @param password
	 * @return
	 */
	public ReturnResult adminLogin(String username, String password);

	/**
	 * 账号注销
	 * @param username
	 * @return
	 */
	public ReturnResult logout(String username);


	/**
	 * 检查用户名是否重复
	 * @param email
	 * @return
	 */
	public ReturnResult checkAccountEmail(String email);
	
	
	/**
	 * 检查企业名是否重复
	 * @param email
	 * @return
	 */
	public ReturnResult checkCompanyEmail(String email);

}
